package com.beemans.corekit.utils;

public final class CacheUtils {
    private static final String CACHE_LOCAL_PUSH_NOTIFY_ID = "CACHE_LOCAL_PUSH_NOTIFY_ID";

    /**
     * 本地推送更新 id
     */
    public static int getLocalPushNotifyId() {
        int notifyId = SPUtils.getInstance().getInt(CACHE_LOCAL_PUSH_NOTIFY_ID, 200);
        notifyId += 1;

        SPUtils.getInstance().put(CACHE_LOCAL_PUSH_NOTIFY_ID, notifyId);
        return notifyId;
    }
}